﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication3
{
    public partial class WebForm3 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                TextBoxName.Text = "请输入名字";
            }
        }

        protected void BtnSubmit_Click(object sender, EventArgs e)
        {
            LabelInfo.Text = $"姓名：{TextBoxName.Text}，年龄{TextBoxAge.Text}，性别{TextBoxGender.Text}";
        }
    }
}